<!doctype html>
<html lang="zh-CN">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>笔记 - 极简Todo系统</title>
    <link
      href="https://cdn.bootcdn.net/ajax/libs/tailwindcss/2.2.19/tailwind.min.css"
      rel="stylesheet"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
    />
    <style>
      body {
        height: 100vh;
        padding-bottom: 83px;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
          sans-serif;
        background-color: #f2f2f7;
      }

      .ios-status-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 44px;
        padding: 0 16px;
        font-size: 12px;
        font-weight: 600;
        color: #000;
        background-color: #ffffff;
      }

      .ios-tab-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 50;
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 83px;
        background-color: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        border-top: 1px solid #e5e5e5;
      }

      .tab-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 49px;
        font-size: 10px;
        color: #8e8e93;
      }

      .tab-item.active {
        color: #007aff;
      }

      .tab-item i {
        margin-bottom: 4px;
        font-size: 24px;
      }

      .search-bar {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        margin: 8px 16px;
        background-color: #e9e9eb;
        border-radius: 10px;
      }

      .search-bar i {
        margin-right: 8px;
        color: #8e8e93;
      }

      .search-input {
        width: 100%;
        font-size: 16px;
        color: #1c1c1e;
        background: transparent;
        border: none;
      }

      .note-card {
        padding: 16px;
        margin-bottom: 12px;
        background-color: white;
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      }

      .note-title {
        margin-bottom: 8px;
        font-size: 18px;
        font-weight: 600;
        color: #1c1c1e;
      }

      .note-content {
        display: block;
        max-height: 3em;
        margin-bottom: 12px;
        overflow: hidden;
        font-size: 14px;
        line-height: 1.5;
        color: #8e8e93;
        text-overflow: ellipsis;
      }

      .note-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 12px;
        color: #8e8e93;
      }

      .add-button {
        position: fixed;
        right: 20px;
        bottom: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        color: white;
        background-color: #007aff;
        border-radius: 28px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
      }
    </style>
  </head>
  <body>
    <!-- iOS 状态栏 -->
    <div class="ios-status-bar">
      <div>9:41</div>
      <div class="flex space-x-2">
        <i class="fas fa-signal"></i>
        <i class="fas fa-wifi"></i>
        <i class="fas fa-battery-full"></i>
      </div>
    </div>

    <div class="p-4">
      <div class="flex justify-between items-center mb-4">
        <h1 class="text-2xl font-bold">笔记</h1>
        <button class="text-blue-500">
          <i class="fas fa-ellipsis-h"></i>
        </button>
      </div>

      <div class="search-bar">
        <i class="fas fa-search"></i>
        <input type="text" class="search-input" placeholder="搜索笔记..." />
      </div>

      <div class="mt-6">
        <a href="note-detail.html" class="block">
          <div class="note-card">
            <div class="note-title">项目会议记录</div>
            <div class="note-content">
              讨论了新功能的开发计划和时间表。团队成员分配了不同的任务，并设定了下一次会议的时间。需要准备原型设计和技术方案。
            </div>
            <div class="note-footer">
              <div>2023年6月15日</div>
              <div class="flex items-center">
                <i class="fas fa-tag mr-1"></i>
                <span>工作</span>
              </div>
            </div>
          </div>
        </a>

        <a href="note-detail.html" class="block">
          <div class="note-card">
            <div class="note-title">学习笔记：React Hooks</div>
            <div class="note-content">
              学习了React
              Hooks的基本用法，包括useState、useEffect、useContext等。理解了函数组件和类组件的区别，以及Hooks带来的优势。
            </div>
            <div class="note-footer">
              <div>2023年6月14日</div>
              <div class="flex items-center">
                <i class="fas fa-tag mr-1"></i>
                <span>学习</span>
              </div>
            </div>
          </div>
        </a>

        <a href="note-detail.html" class="block">
          <div class="note-card">
            <div class="note-title">旅行计划：杭州</div>
            <div class="note-content">
              计划7月初去杭州旅行，需要提前预订酒店和机票。想去西湖、灵隐寺、西溪湿地等景点。预计花费3000元左右。
            </div>
            <div class="note-footer">
              <div>2023年6月12日</div>
              <div class="flex items-center">
                <i class="fas fa-tag mr-1"></i>
                <span>个人</span>
              </div>
            </div>
          </div>
        </a>

        <a href="note-detail.html" class="block">
          <div class="note-card">
            <div class="note-title">购物清单</div>
            <div class="note-content">1. 洗发水 2. 牙膏 3. 水果（苹果、香蕉） 4. 面包 5. 牛奶</div>
            <div class="note-footer">
              <div>2023年6月10日</div>
              <div class="flex items-center">
                <i class="fas fa-tag mr-1"></i>
                <span>购物</span>
              </div>
            </div>
          </div>
        </a>
      </div>
    </div>

    <a href="note-edit.html" class="add-button">
      <i class="fas fa-plus text-xl"></i>
    </a>

    <!-- iOS 底部导航栏 -->
    <div class="ios-tab-bar">
      <a href="home.html" class="tab-item">
        <i class="fas fa-tasks"></i>
        <span>任务</span>
      </a>
      <a href="pomodoro.html" class="tab-item">
        <i class="fas fa-clock"></i>
        <span>番茄钟</span>
      </a>
      <a href="finance.html" class="tab-item">
        <i class="fas fa-wallet"></i>
        <span>财务</span>
      </a>
      <a href="notes.html" class="tab-item active">
        <i class="fas fa-sticky-note"></i>
        <span>笔记</span>
      </a>
      <a href="profile.html" class="tab-item">
        <i class="fas fa-user"></i>
        <span>我的</span>
      </a>
    </div>
  </body>
</html>
